package com.pattern.strategy_pattern;

/**
 * @author chen
 * @date 2018/3/29
 * <p>
 * Email 122741482@qq.com
 * <p>
 * Describe: 加法运算
 */
public class AdditionStrategy implements Strategy {
    @Override
    public void algorithm(int a, int b) {
        System.out.println("加法运算 a+b=" + (a + b));
    }
}
